package com.example.zxy.constraintlayouttest.model;

import com.example.zxy.constraintlayouttest.base.BaseListener;
import com.example.zxy.constraintlayouttest.base.BaseModel;
import com.example.zxy.constraintlayouttest.bean.LoginBean;

/**
 * 作者:$zxy
 * 时间:2018/10/10
 * 类描述: TODO: 请填写类描述
 */
public class LoginModel extends BaseModel<LoginBean> {

    public void login(String username, String userpass, final BaseListener listener){
        call = service.login(username,userpass);
        callEnqueue(call,listener);
    }
}
